﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NGUYENTHUTRANG.OOP.MVC.ex4
{
    class Controller4
    {
        //1.khai báo đối tượng models
        Models4 mojbday;

        //2. xây dựng hàm khởi tạo lớp Controller.
        public Controller4()
        {
            mojbday = new Models4();
        }

        public int controllerDay(Entity4 e)
        {
            return mojbday.daynumber(e);
        }
    }
}
